/* Layout */
import Layout from '@/layout'

export default [
  {
    path: '/eduTeacher',
    component: Layout,
    redirect: '/example/table',
    name: '讲师管理',
    meta: { title: '讲师管理', icon: 'el-icon-menu' },
    children: [
      {
        path: 'list',
        name: '讲师列表',
        component: () => import('@/views/edu/teacher/list.vue'),
        meta: { title: '讲师列表', icon: 'table' }
      },
      {
        path: 'add',
        name: '添加讲师',
        component: () => import('@/views/edu/teacher/add.vue'),
        meta: { title: '添加讲师', icon: 'tree' }
      }
    ]
  },
  {
    path: '/eduSubject',
    component: Layout,
    redirect: '/example/table',
    name: '课程分类管理',
    meta: { title: '课程分类管理', icon: 'el-icon-menu' },
    children: [
      {
        path: 'list',
        name: '课程分类管理',
        component: () => import('@/views/edu/subject/list.vue'),
        meta: { title: '课程分类管理', icon: 'table' }
      },
      {
        path: 'add',
        name: '课程分类导入',
        component: () => import('@/views/edu/subject/add.vue'),
        meta: { title: '课程分类导入', icon: 'tree' }
      }
    ]
  },
  {
    path: '/eduChapter',
    component: Layout,
    redirect: '/example/table',
    name: '课程管理',
    meta: { title: '课程管理', icon: 'el-icon-menu' },
    children: [
      {
        path: 'list',
        name: '课程管理',
        component: () => import('@/views/edu/course/list.vue'),
        meta: { title: '课程管理', icon: 'table' }
      },
      {
        path: 'add',
        name: '课程添加',
        component: () => import('@/views/edu/course/add.vue'),
        meta: { title: '课程添加', icon: 'tree' }
      }
    ]
  },

]